Action

An action providing a response to the PromptCallback.

Constructors

Link copied to clipboard
constructor(consumer: Consumer<ShowPrompt.Response>)

Functions

Link copied to clipboard
open fun cancel()
Notifies the browser that the JavaScript prompt dialog should be canceled.
Link copied to clipboard
Returns true if this action is closed.
Link copied to clipboard
open fun ok(text: String)
Notifies the browser that the JavaScript prompt dialog should be closed with the given text as a response.